/*******************************************
  Jose Andres Lara Vecino

  Author       : $$Author: cainlara@gmail.com $$
  Last CheckIn : $$Date: 2012-05-24 17:35:22 +0000 (Thu, 24 May 2012) $$
  Revision     : $$Revision: 21 $$
*******************************************/

package persistencia;

import javax.persistence.Entity;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

/**
 * The persistent class for the tm_suite database table.
 * 
 */
@Entity
@Table(name="tm_suite")
@Inheritance(strategy = InheritanceType.JOINED)
public class TmSuite extends PersistenteLLaveNombre {
    private static final long serialVersionUID = -3212761904297587253L;
    
    @ManyToOne
    @JoinColumn(name="id_padre")
    private TmSuite padre;
    
    public TmSuite() {
    }
    
    public TmSuite getPadre() {
        return padre;
    }
    
    public void setPadre(TmSuite padre) {
        this.padre = padre;
    }
}